﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebApplication1._Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
        .style2
        {
            width: 140px;
        }
        .style3
        {
            width: 140px;
            height: 10px;
        }
        .style4
        {
            height: 10px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div id="Principal">
       <div id="Consulta">
       
       
           Descrição do Pacote:&nbsp;
           <asp:TextBox ID="TextBox1" runat="server" Width="245px"></asp:TextBox>
&nbsp;
           <asp:Button ID="PESQUISAR" runat="server" Text="PESQUISAR" />
           <br />
           <br />
           <asp:GridView ID="GridView1" runat="server" BackColor="#DEBA84" 
               BorderColor="#DEBA84" BorderStyle="None" BorderWidth="1px" CellPadding="2" 
               CellSpacing="2" onselectedindexchanged="GridView1_SelectedIndexChanged" 
               AutoGenerateColumns="False" Width="562px">
               <FooterStyle BackColor="#F7DFB5" ForeColor="#8C4510" />
               <RowStyle BackColor="#FFF7E7" ForeColor="#8C4510" />
               <Columns>
                   <asp:ButtonField ButtonType="Button" Text="Alterar" />
                   <asp:ButtonField ButtonType="Button" Text="Excluir" />
                   <asp:BoundField HeaderText="ID" />
                   <asp:BoundField HeaderText="Nome" />
                   <asp:BoundField HeaderText="Data" />
                   <asp:BoundField HeaderText="Valor R$" />
               </Columns>
               <PagerStyle ForeColor="#8C4510" HorizontalAlign="Center" />
               <SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="White" />
               <HeaderStyle BackColor="#A55129" Font-Bold="True" ForeColor="White" />
           </asp:GridView>
           <br />
           <asp:Button ID="Button1" runat="server" Text="Cadastrar Novo Pacote" />
           <br />
           <br />
       
       
       </div>
       <div id="Cadastro">
       
       
           <table class="style1">
               <tr>
                   <td class="style2">
                       Id</td>
                   <td>
                       <asp:TextBox ID="TextBox2" runat="server" Width="41px"></asp:TextBox>
                   </td>
               </tr>
               <tr>
                   <td class="style2">
                       Nome</td>
                        <td>
                            <asp:TextBox ID="TextBox4" runat="server" Width="370px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style3">
                            Data</td>
                        <td class="style4">
                            <asp:TextBox ID="TextBox6" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style2">
                            Valor R$</td>
                        <td>
                            <asp:TextBox ID="TextBox5" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                </table>
                <div id="Cadastro2">
                
                
                    <br />
                    <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" 
                        Width="150px">
                        <asp:ListItem>Canal</asp:ListItem>
                    </asp:DropDownList>
&nbsp;
                    <asp:Button ID="Button2" runat="server" Text="Incluir" Width="50px" />
                    <br />
           <asp:GridView ID="GridView2" runat="server" BackColor="#DEBA84" 
               BorderColor="#DEBA84" BorderStyle="None" BorderWidth="1px" CellPadding="2" 
               CellSpacing="2" onselectedindexchanged="GridView1_SelectedIndexChanged" 
                        AutoGenerateColumns="False" Height="54px" Width="265px">
               <FooterStyle BackColor="#F7DFB5" ForeColor="#8C4510" />
               <RowStyle BackColor="#FFF7E7" ForeColor="#8C4510" />
               <Columns>
                   <asp:ButtonField ButtonType="Button" Text="Excluir" />
                   <asp:BoundField HeaderText="ID" />
                   <asp:BoundField HeaderText="Canal" />
                   <asp:BoundField HeaderText="Data" />
               </Columns>
               <PagerStyle ForeColor="#8C4510" HorizontalAlign="Center" />
               <SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="White" />
               <HeaderStyle BackColor="#A55129" Font-Bold="True" ForeColor="White" />
           </asp:GridView>
                    <br />
                
                
               </div>      
              
    
    </div>
    </form>
</body>
</html>
